package com.open.cloud.rbac.constant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("计费方式")
public enum ChargeModeEnum {

    //计费方式: byYear,byMonth,byNeed
    YEAR("byYear", "包年"),
    MONTH("byMonth", "包月"),
    BY_NEED("byNeed", "按量计费");

    @ApiModelProperty("code")
    private String code;

    @ApiModelProperty("描述")
    private String desc;
}
